package com.zzb.operator;

import java.util.Scanner;

public class OperatorTest1 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("输入年龄：");
        int age = sc.nextInt();
        if (age >= 18) {
            System.out.println("恭喜你，成年了");
        } else {
            System.out.println("你还太小了");
        }
    }
}
